package sprites;

import java.awt.image.BufferedImage;

import com.golden.gamedev.GameObject;
import com.golden.gamedev.object.AnimatedSprite;

/**
 * The generic sprite to be used in Bubblefish Bob. All other sprites are
 * descended from this class.
 */
public abstract class BubblefishBobSprite extends AnimatedSprite
{

    protected GameObject myOwner;
    
    /**
     * Creates a new sprite in the given coordinates.
     * @param owner the game object that controls this sprite
     * @param image the animation image
     * @param x x-coordinate
     * @param y y-coordinate
     */
    public BubblefishBobSprite(GameObject owner, BufferedImage[] image,
            double x, double y)
    {
        super(image, x, y);
        myOwner = owner;
    }

}
